
import {nanoid} from'nanoid'

export const getuserTempId = ()=>{
    let userTempId = localStorage.getItem('userTempId')
    if(userTempId) return userTempId
    
        userTempId = nanoid()
       localStorage.setItem('userTempId',userTempId)
       return userTempId
   
}